function verify(verify){
	$.ajax({
		type : "post",
		url : appPath + "/setting/verify.html",
		dataType : "html",
		data : {
			token : $.cookie("token"),
			type : $("#type").val(),
			verify : verify
		},
		success : function(result) {
			if(result.indexOf("loginpage") > -1){
				location.href = appPath + "/member/login.html";
			}
			$("body").html(result);
			if($("#type").val() == '0'){
				reloadVerifyCode('getImageCode');
				var showImageCode = $("#showImageCode").val();
				if(showImageCode == 'true'){
					$("#divImageCode").show();
				} else {
					$("#divImageCode").hide();
				}
			} else {
				$("#divImageCode").hide();
			}
		},
		error: function(XMLHttpRequest, textStatus, errorThrown) {
			$.hideLoading();
            $.alert("系统异常，请稍后再试");
        }
	});
}